import request from '../utils/request.js';

export const getUserInfo = token => {
  return request({
    method: 'post',
    url: '/user/currentUser',
    headers: { Authorization: token },
  });
};
